﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

using GeneralTool.CoreLibrary.Extensions;
using GeneralTool.CoreLibrary.Interfaces;
using GeneralTool.CoreLibrary.Logs;
using GeneralTool.CoreLibrary.Models;

namespace TaskServerUI
{
    /// <summary>
    /// TestWindow.xaml 的交互逻辑
    /// </summary>
    public partial class TestWindow : Window
    {
        private ILog log;
        public TestWindow()
        {
            InitializeComponent();

           // Test();
        }

        private void Test()
        {
            using (var map = new System.Drawing.Bitmap(@"C:\Users\raozh\Pictures\无标题.png"))
            {
                using (var data = new BitmapDataEx(map, true))
                {
                    var buffer = data.Buffer;
                    var size = data.Size;
                    var ptr = data.Ptr;
                    var stride = data.Stride;
                }
            }
        }

        private void TestMethod(object sender, RoutedEventArgs e)
        {

        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {

        }
    }
}
